import request from '../utils/request'

let service ={
    getCollectionsCount(){
        return request({
            method:'GET',
            url:'/collections/getCollectionsCount'
        })
    },
    addCollections(param){
        return request({
            method:'POST',
            url:'/collections/addCollections',
            data:param
        })
    },
    getCollections(){
        return request({
            method:'GET',
            url:'/collections/getCollections'
        })
    },
    delCollections(param){
        return request({
            method:'POST',
            url:'/collections/delCollections',
            data:param
        })
    }
}

export default service